angular.module('Controller')
.directive('nrHelp',[()->
            return {
            restrict:'E'
            scope : {
                info : '=info'
            }
            replace:true
            templateUrl:'templates/nr-help/nr-help.html'
            controller:'NrHelpCtrl'
            }
        ])

.controller 'NrHelpCtrl',($scope,$localStorage)->
    console.log "NrHelpCtrl"
    $scope.changeMenu=(item)->
        _.each $scope.info,(obj)->
            obj.active = false
        item.active = true


